package com.zlx.mall.basic.common.constant;

/**
 * @Author xiatian
 * @Date 2024/5/25 星期六 14:25
 * @注释
 */
public interface RedisKeyConstant {
    /**
     * 登录短信验证码发送次数
     */
    String CACHE_KEY_USER_CODE_SMS_LOGIN_COUNT = "user:code:sms:login:count:";
    /**
     * 登录/注册图形验证码
     */
    String CACHE_KEY_USER_CODE_IMG_LOGIN = "user:code:img:login:";
    /**
     * 登录短信验证码
     */
    String CACHE_KEY_USER_CODE_SMS_LOGIN = "user:code:sms:login:";
    /**
     * 注册短信验证码
     */
    String CACHE_KEY_USER_CODE_SMS_REGISTER = "user:code:sms:register:";
    /**
     * 忘记密码短信验证码
     */
    String CACHE_KEY_USER_CODE_SMS_FORGET_PASSWORD = "user:code:sms:forget:password:";
    /**
     * 验证码发送次数
     */
    String CACHE_KEY_USER_CODE_SMS_VIEW_COUPONS = "user:code:sms:viewCoupons:%s:%s";
    String CACHE_KEY_USER_TOKEN = "cache:key:user:token:";
}
